<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-body">
        {if $mode=='addons'}
        <div class="alert alert-danger-light">
            当前模式:【生产代码在addons目录】编写代码必须在插件目录下，比如：/addons/application，/addons/public，/addons/...等
        </div>
        {else /}
        <div class="alert alert-danger-light"> 
            当前模式:【生产代码在项目目录】编写代码在项目的子目录下，比如：/application，/public,/...等
        </div>
        {/if}
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a>
                        <a href="javascript:;"
                            class="btn btn-success btn-add {:$auth->check('addondev/addon/add')?'':'hide'}"
                            title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="{:url('addon/config',['name'=>'addondev'])}" 
                            class="btn btn-info btn-dialog"
                            title="{:__('Config')}"><i class="fa fa-gear"></i> {:__('Config')}</a>

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                        data-operate-edit="{:$auth->check('addondev/addon/edit')}" data-operate-del="" width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>